using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 场馆用户会员卡记录dto
    /// </summary>
    public class VenueUserCardRecordDto
    {
        /// <summary>
        /// 场馆ID
        /// </summary>
        public Guid VenueId { get; set; }

        /// <summary>
        /// 用户会员卡ID
        /// </summary>
        public Guid UserCardId { get; set; }

        /// <summary>
        /// 会员卡类型：1储值卡、2次卡、3打折卡
        /// </summary>
        public MemberCardTypeEnum CardType { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 用户CODE
        /// </summary>
        public int UserCode { get; set; }

        /// <summary>
        /// 记录类型：1账户充值；2场馆消费
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 变动金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Reamrk { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset? CreateTime { get; set; }
    }
}
